package cn.edu.whut.gateway.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;

import java.time.Duration;

@Data
@ConfigurationProperties(prefix = "gateway.jwt")
public class JwtConfigurationProperties {

    private Resource location;

    private String password;

    private String alias;

    private Duration tokenExpire = Duration.ofMinutes(10);
}
